// esModule导出内容,commonJs导入
const math = require("./js/math.js");
console.log(math.sum(10, 30));
console.log(math.mul(10, 30));

// commonJS导出,esmodule导入
import format from "./js/format.js";
console.log(format.dateFormate("aaaa"));
console.log(format.priceFormate("bbbb"));
